import {request} from '@/plugins/axios'
import ApiPath from '@/utils/api_paths'
export function login(data) {
    return request({
        url: ApiPath.login.login,
        method: 'post',
        data
    })
}

export function logout() {
    return request({
        url: ApiPath.login.logout,
        method: 'get'
    })
}